﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TBM.Models
{
    /// <summary>
    /// 邮件模型
    /// </summary>
    public class Mail
    {
        public long ID { get; set; }
        /// <summary>
        /// 邮件来自...
        /// </summary>
        public UserListItem MailFrom { get; set; }
        /// <summary>
        /// 邮件发往...
        /// </summary>
        public List<UserListItem> MailTo { get; set; }
        /// <summary>
        /// 是否标记为已读
        /// </summary>
        public bool MarkRead { get; set; }
        /// <summary>
        /// 是否标记为删除
        /// </summary>
        public bool MarkDeleted { get; set; }
        /// <summary>
        /// 邮件主题
        /// </summary>
        public string Subject { get; set; }
        /// <summary>
        /// 邮件内容
        /// </summary>
        public string Context { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime CreateDate { get; set; }
    }
}
